/* 引入变量定义和组件样式 */

/* 基础表单元素样式 */
/* 排除Element Plus相关组件的基础表单样式 */
input:not([class*='el-']),
textarea:not([class*='el-']),
select:not([class*='el-']),
input:not(.el-input__inner),
textarea:not(.el-textarea__inner),
select:not(.el-select__input) {
  -o-transition: all 0.3s ease;
  border: 1px solid #dcdfe6;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

input:not([class*='el-']):focus,
textarea:not([class*='el-']):focus,
select:not([class*='el-']):focus,
input:not(.el-input__inner):focus,
textarea:not(.el-textarea__inner):focus,
select:not(.el-select__input):focus {
  border: 1px solid #409eff !important;
  box-shadow: 0 0 8px 2px rgba(64, 158, 255, 0.3) !important;
  outline: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  font-weight: normal;
}

body {
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-background);
  transition:
    color 0.5s,
    background-color 0.5s;
  line-height: 1.6;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    'Fira Sans',
    'Droid Sans',
    'Helvetica Neue',
    sans-serif;
  font-size: 15px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.dark body {
  background-color: #121212;
}
